export const myUnoPreset = {
    name: 'my-uno-preset',
    rules: [
        [/^m-([.\d]+)$/, ([_, num]) => ({ margin: `${num}rpx` })],
        [/^p-([.\d]+)$/, ([_, num]) => ({ padding: `${num}rpx` })],
        [/^mt-([.\d]+)$/, ([_, num]) => ({ marginTop: `${num}rpx` })],
        [/^pt-([.\d]+)$/, ([_, num]) => ({ paddingTop: `${num}rpx` })],
        [/^mb-([.\d]+)$/, ([_, num]) => ({ marginTop: `${num}rpx` })],
        [/^pb-([.\d]+)$/, ([_, num]) => ({ paddingTop: `${num}rpx` })],
        [/^ml-([.\d]+)$/, ([_, num]) => ({ marginLeft: `${num}rpx` })],
        [/^pl-([.\d]+)$/, ([_, num]) => ({ paddingLeft: `${num}rpx` })],
        [/^mr-([.\d]+)$/, ([_, num]) => ({ marginRight: `${num}rpx` })],
        [/^pr-([.\d]+)$/, ([_, num]) => ({ paddingRight: `${num}rpx` })],
    ],
    variants: [/* ... */],
    shortcuts: [/* ... */],
    // ...
}